package org.changchen.fgt.dto;

import java.io.Serializable;
import java.util.List;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**   
* @ClassName:  AcgWeekDto   
* @Description:   
* @author:     ChangChen 
* @date:       2024-02-02 11:48
* @Copyright:  2024 ChangChen. All rights reserved. 
*/
@Data
public class AcgWeekV2DTO implements Serializable{
	
	
	/**   
	 * @Fields serialVersionUID:   
	 */
	private static final long serialVersionUID = 1L;


	private String week;
	
	
	private Boolean isToday;
	
	
	private List<AcgItemDto> list;
	
	
	@Data
	@AllArgsConstructor
	@NoArgsConstructor
	public class AcgItemDto implements Serializable,Comparable<AcgItemDto>{

		/**   
		 * @Fields serialVersionUID:
		 */
		private static final long serialVersionUID = 1L;
		
		
		private String week;
		
		
		private String name;
		
		
		private String cover;
		
		
		private String time;
		
		
		private String beginDate;



		@Override
		public int compareTo(AcgItemDto o) {
			return this.getTime().compareTo(o.getTime());
		}
		
		
	}	

}
